home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / widget / r3ibar.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.5 KB  |  62 lines

  1.  
  2. // JavaScript wrapper for r3ibar.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_INTERACTORBAR_H = 1;
  7. include("oops/r3window.js")
  8.  
  9.  
  10. var R3CLID_INTERACTORBAR = 1315;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Class method which can be used for registering new    * interactor specific gadgets into the
  16. //      status bar. Gadget corresponding to the current interactor is shown.
  17. // Returns: Boolean, true if succeeded
  18. // p1: Integer, class id of the interactor
  19. // p3: Integer, class id of the gadget    
  20.  
  21. R3IBCM_INSTALLGADGET = 1315000;
  22.  
  23. function mR3IBCM_INSTALLGADGET(p1, p3) {
  24.   return   DoA2(this.r3obj, 1315000, p1, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
  25. }
  26.  
  27. // p1: Integer, orientation
  28. // p2: Object, window
  29. // p3: Object, packer    
  30.  
  31. R3IBM_ADDCONTROLS = 1315002;
  32.  
  33. function mR3IBM_ADDCONTROLS(p1, p2, p3) {
  34.   DoA3(this.r3obj, 1315002, p1, R3TID_INTEGER, 0, p2, R3TID_OBJECT, 0, p3, R3TID_OBJECT, 0);
  35. }
  36.  
  37.  
  38.  
  39.  
  40. var R3IBA_TopPacker = 1315500; // Object
  41. R3IBA_ClidCount = 1315503;
  42. function GetR3IBA_ClidCount() {
  43.   return R3Get(this.r3obj, R3IBA_ClidCount, R3TID_INTEGER, 0); 
  44. }
  45.  
  46.  
  47.  
  48. function r3Interactorbar () { 
  49.    this.base = r3God;
  50.    if(arguments.length) {
  51.       this.base(R3CLID_INTERACTORBAR, arguments);
  52.    }
  53.    // Methods
  54.    this.INSTALLGADGET=mR3IBCM_INSTALLGADGET;
  55.    this.ADDCONTROLS=mR3IBM_ADDCONTROLS;
  56.  
  57.    // Attributes
  58.    this.GetClidCount=GetR3IBA_ClidCount;
  59. }
  60.  
  61. r3Interactorbar.prototype=new r3Window;
  62. // r3ibar.h_H